import { Component, Emit, Prop } from 'vue-facing-decorator'
import Render from '@/render/Render'
import toNative from '@/utils/toNative'
import RenderItem from '../RenderItem'
import Icon from '@/assets/operation/lxsbcx.png'
import DialogSalaryStatus from './DialogSalaryStatus'

@Component
export class QuerySalaryStatus extends Render {
    showDialog = false

    onShow() {
        this.showDialog = true
    }
    render() {
        return (
            <>
                <RenderItem name="薪资状态查询" src={Icon} onClick={this.onShow} />
                <DialogSalaryStatus v-model:show={this.showDialog} />
            </>
        )
    }
}

export default toNative<{}, {}>(QuerySalaryStatus)
